﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DAL;
using EntityInterfaces;

namespace DataFactory
{
    public static class SimpleFactory
    {
        public static IAuxPage CreateAuxPage()
        {
            return new AuxPage();
        }
        public static ICategory CreateCategory()
        {
            return new Category();
        }
        public static ILang CreateLang()
        {
            return new Lang();
        }
        public static IOrder CreateOrder()
        {
            return new Order();
        }
        public static IProduct CreateProduct()
        {
            return new Product();
        }
    }
}
